<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo" cellspacing="1"
       style="word-break: break-all">
    <col style="width: 25%"/>
    <col style="width: 10%"/>
    <col style="width: 30%"/>
    <col style="width: 10%"/>
    <col style="width: 25%"/>
    <tr>
        <td colspan="5" class="t_bar2"><span class="color_red">*</span>${param.title}</td>
    </tr>
    <tr>
        <td align="right" colspan="1">项目名称：</td>
        <td colspan="4">
            <input id="project_name" name="proposal/zh_title" label="项目名称" type="text" required
                   class="input_css required maxlength:100"
                   style="width: 95%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="1">归口管理单位：</td>
        <td colspan="2">
            <c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
            <cpt:tree id="recomend_org" key="recommended_org" cacheable="false" className="hn_iuput_kuang required selectWidth3" readonly="true" value="${recomend_org}" label="归口管理单位"
                      showPattern="all" shieldPattern="0" onClick="initTreeValue2"></cpt:tree>
            <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" >
            <input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
        </td>
        <td align="right" >申报日期：</td>
        <td colspan="">
            <c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
            <cpt:date id="submit_date" value="${submit_date }" className="required date" label="申报日期" name="proposal/submit_date"></cpt:date>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="">单位名称（全称）：</td>
        <td colspan="4">
            <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
        </td>
    </tr>
    <tr>
        <td align="right" colspan="">单位所处行政区域：</td>
        <td colspan="2">
            <c:set var="area_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" /></c:set>
            ${fn:split(area_name,'-')[0]}
        </td>
        <td colspan="2">
            ${fn:split(area_name,'-')[1]}
        </td>
    </tr>
    <tr >
        <td align="right" rowspan="4">是否三证合一 ：</td>
        <td colspan="1" align="center">
            <c:set var="org_shxy_no"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_shxy_no" /></c:set>
            <c:if test="${empty org_shxy_no }">
                □
            </c:if>
            <c:if test="${not empty org_shxy_no }">
                ■
            </c:if>是
        </td>
        <td align="right">
            统一社会信用代码：
        </td>
        <td colspan="2">
            <span name="organization/org_shxy_no">${org_shxy_no}</span>
        </td>
    </tr>
    <tr >
        <td align="center" colspan="1" rowspan="3">
            <c:if test="${not empty org_shxy_no }">
                □
            </c:if>
            <c:if test="${empty org_shxy_no }">
                ■
            </c:if>否
        </td>
        <td align="right">
            营业执照注册号：
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_licence" />
        </td>
    </tr>
    <tr >
        <td align="right">
            组织机构代码：
        </td>
        <td colspan="2">
            <span name="organization/org_no"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_no" /></span>
        </td>
    </tr>
    <tr >
        <td align="right">
            税务登记证号：
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/tax_local_no" />
        </td>
    </tr>
    <tr>
        <td align="right" colspan="1">法定代表人：</td>
        <td colspan="1" align="right">
            姓名：
        </td>
        <td colspan="1">
            <x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname" />
        </td>
        <td colspan="1" align="right">
            手机号：
        </td>
        <td colspan="1">
            <x:out select="$xmlData/data/organization_persons/person[@type='faren']/mobile" />
        </td>
    </tr>
    <tr>
        <td align="right" rowspan="2">联系人：</td>
        <td align="right">姓名：</td>
        <td colspan="">
            <input id="linkman_name" name="proposal/contact_psn_name" label="联系人-->姓名" type="text"
                   class="input_css required" maxlength="30"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_name" />"/>
        </td>
        <td align="right">手机号：</td>
        <td colspan="">
            <input id="linkman_phone" name="proposal/contact_psn_mobile" label="联系人-->手机号" type="text"
                   class="input_css required mobile " onfocus="InitInput.setNumber(this,11,0,0);"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/>
        </td>
    </tr>
    <tr>
        <td align="right">通讯地址：</td>
        <td colspan="">
            <input name="proposal/contact_psn_address" label="联系人-->通讯地址" type="text"
                   class="input_css required" maxlength="30"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_address" />"/>
        </td>
        <td align="right">电子邮箱：</td>
        <td colspan="">
            <input name="proposal/contact_psn_email" label="联系人-->电子邮箱" type="text"
                   class="input_css required email " maxlength="30"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="" rowspan="3">银行信息：</td>
        <td align="right" colspan="2">单位账户：</td>
        <td colspan="2">
            <span name="org_basic_info/bank_orgname">
                <x:out select="$xmlData/data/org_basic_info/bank_orgname" />
            </span>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">开户行：</td>
        <td colspan="2">
            <span name="org_basic_info/bank_name"><x:out select="$xmlData/data/org_basic_info/bank_name" /></span>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">账号：</td>
        <td colspan="2">
            <span name="org_basic_info/bank_account"><x:out select="$xmlData/data/org_basic_info/bank_account" /></span>
        </td>
    </tr>

    <c:set var="nature_value">
        <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value"/>
    </c:set>
    <c:if test="${fn:substring(nature_value,0,1) eq 'A'}">
        <tr>
            <td align="right">单位类型：</td>
            <td colspan="4">
                <c:set var="unit_type"><x:out select="$xmlData/data/proposal/unit_type_value"/></c:set>
                <cpt:checkbox key="unit_type6" name="unit_type" value="${unit_type}" width="" repeatColumn="4"
                              onClick="initControlValue(this.id);"
                              style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
                <input type="hidden" id="unit_type_value" name="proposal/unit_type_value" class="required"
                       value="<x:out select="$xmlData/data/proposal/unit_type_value" />" label="单位类型">
                <input type="hidden" name="proposal/unit_type_name"
                       value="<x:out select="$xmlData/data/proposal/unit_type_name" />">
            </td>
        </tr>
    </c:if>
    <tr>
        <td align="right">单位上年度R&D经费支出：</td>
        <td colspan="4">
            <input type='text' name='proposal/expenditure'
                   class="required" onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%;" label="单位上年度R&D经费支出"
                   value='<x:out select="$xmlData/data/proposal/expenditure"/>' > &nbsp;万元
        </td>
    </tr>
    <tr>
        <td align="right">单位上年度主营业务收入：</td>
        <td colspan="4">
            <input type='text' name='proposal/business_income'
                   class="required" onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%;" label="单位上年度主营业务收入"
                   value='<x:out select="$xmlData/data/proposal/business_income"/>'> &nbsp;万元
        </td>
    </tr>
    <tr>
        <td align="right">单位上年度R&D经费支出强度：</td>
        <td colspan="4">
            <input type='text' name='proposal/expenditure_intensity'
                   class="required" onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%;" label="单位上年度R&D经费支出强度"
                   value='<x:out select="$xmlData/data/proposal/expenditure_intensity"/>' > &nbsp;%
        </td>
    </tr>
</table>